package com.neusoft.entity;

import com.neusoft.annotation.ID;
import com.neusoft.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Table("stu.paymoney")
@Data
@ToString
@Accessors(chain = true)  //链式写法
@NoArgsConstructor
@AllArgsConstructor
public class PayMoney {
    @ID
    private Integer id;
    private Integer payid;
    private Integer money;
    private Integer tatal;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPayid() {
        return payid;
    }

    public void setPayid(Integer payid) {
        this.payid = payid;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getTatal() {
        return tatal;
    }

    public void setTatal(Integer tatal) {
        this.tatal = tatal;
    }

    @Override
    public String toString() {
        return "PayMoney{" +
                "id=" + id +
                ", payid=" + payid +
                ", money=" + money +
                ", tatal=" + tatal +
                '}';
    }
}
